[TPM] Add tests cases for the ACM security hooks and tools to
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Wed, 18 Oct 2006 15:07:55 +0000 (16:07 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Wed, 18 Oct 2006 15:07:55 +0000 (16:07 +0100)
commitb77b89e80e3194eb162d1f42c747b8fd10374985
tree05474062695e55a6d6ccc0a61d654f2df8069d53
parentee89b4ab594e3027c04052108ea8b494750fe26c
[TPM] Add tests cases for the ACM security hooks and tools to
the xm test suite. The tests can be run with ACM turned off (not
compiled into Xen; see user doc for this), but most of them will be
skipped then. They can be run with a command like

make -C tests/security-acm check-TESTS

from the xm-test directory. They are also part of the default tests in
the tests suite and part of a new group test 'security'.
Since some of the tests require resources to be labeled, one must
explicitly enable the resources to be allowed to be labeled by the
test
suite by running

./configure --enable-full-labeling

once. To turn it off, the '--enable-full-labeling' parameter should be
omitted.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
16 files changed:
tools/xm-test/README
tools/xm-test/configure.ac
tools/xm-test/grouptest/default
tools/xm-test/grouptest/security [new file with mode: 0644]
tools/xm-test/lib/XmTestLib/XenDomain.py
tools/xm-test/lib/XmTestLib/acm.py [new file with mode: 0644]
tools/xm-test/tests/Makefile.am
tools/xm-test/tests/security-acm/01_security-acm_basic.py [new file with mode: 0644]
tools/xm-test/tests/security-acm/02_security-acm_dom_start.py [new file with mode: 0644]
tools/xm-test/tests/security-acm/03_security-acm_dom_conflict.py [new file with mode: 0644]
tools/xm-test/tests/security-acm/04_security-acm_dom_res.py [new file with mode: 0644]
tools/xm-test/tests/security-acm/05_security-acm_dom_res_conf.py [new file with mode: 0644]
tools/xm-test/tests/security-acm/06_security-acm_dom_block_attach.py [new file with mode: 0644]
tools/xm-test/tests/security-acm/Makefile.am [new file with mode: 0644]
tools/xm-test/tests/security-acm/acm_utils.py [new file with mode: 0644]
tools/xm-test/tests/security-acm/xm-test-security_policy.xml [new file with mode: 0644]